route:: resourceverbs([]); Class App-Providers-Route not found

65

route:: "resourceverbs([]);" Class 'App\Providers\Route' not found -

//try to import class bellow namespace
use Route;

route:: "resourceverbs([]);" Class 'App\Providers\Route' not found -

/**As I see this question has not been answered for over a month now,
*
*Go to the file where you've used Route::method_name() and import Route class there by->
*/

use Route;

//This is common in App\Providers\AppServiceProvider@boot() that implements

Route::resourceVerbs([...]);

//Let me know if this helps

Comments

Submit
0 Comments